package com.example.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 员工实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Worker {
    private Integer workerId; //ID
    private String username; //用户名
    private String password; //密码
    private String workerName; //姓名
    private float workerSalary;//工资
    private short workerSex;//性别
    private Integer workerAge;//年龄
    private LocalDate entrydate;//入职时间
    private LocalDateTime createTime;//创建时间
    private LocalDateTime updateTime;//更新时间
    private Integer workerCategory;//职位 1：经理 2：厨师 3：服务员
}
